Question: JAVA Passing all of your JUnit tests ensures that your code does what it is supposed to do. O True O False Question 2 2

 JAVA Passing all of your JUnit tests ensures that your code

does what it is supposed to do. O True O False Question

2 2 pts Tests that compare an expected result with an actual

result without knowing how the result was obtained are known as _tests.

O integration O end-to-end o white-box O black-box o unit Which CODE1,JAVA

Passing all of your JUnit tests ensures that your code does what it is supposed to do. O True O False Question 2 2 pts Tests that compare an expected result with an actual result without knowing how the result was obtained are known as _tests. O integration O end-to-end o white-box O black-box o unit Which CODE1, CODE2, CODE3 replacement set completes this JUnit test so that the test passes if and only if a DuplicateKeyException occurs while attempting to insert an existing key into a Hash Table? Assume that Hash Table has an insert method that allows the user to insert a key into the structure. // assumes ht is an empty hash table @Test public void test_DuplicateKeyException { try { ht.insert(1011); CODE1 fail("expected DuplicateKeyException"); catch ( CODE2 ) { /* expected */ } catch ( CODE3 ) { fail("unexpected exception"); } CODE1: ht.insert(1011); CODE2: DuplicateKeyException e CODE3: Exception e CODE1: ht.insert(1011); CODE2: Exception e CODE3: DuplicateKeyException e CODE1: ht.insert(11); CODE2: DuplicateKeyException e CODE3: Exception e CODE1: ht.insert(11); CODE 2: Exception e CODE3: DuplicateKeyException e CODE1: ht.insert("B"); CODE2: Exception e CODE3: DuplicateKeyException e Question 4 2 pts _testing focuses on making sure that all code execution paths have been tested. Oblack-box O gray-box O unit O end-to-end O white-box In Black-Box Testing, we know th F but do not have the [ Select ] ADT user source code system [Select ] In Black-Box Testing, we know the [Select] but do not have the [Select ] answers ADT source code compiler

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!