Skip to content

Commit

Permalink
Add @test annotation to methods which appear to be intended to be JUn…
Browse files Browse the repository at this point in the history
…it4 test methods.

(This will cause the test to start running. If it failed, I've added @ignore.)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=295165657
  • Loading branch information
graememorgan authored and kluever committed Feb 17, 2020
1 parent 29f6df4 commit 7e3026d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand Down Expand Up @@ -508,6 +509,8 @@ public void testFromSetFields() {
.contains("ignored: o_sub_test_message.o_test_message.r_string");
}

@Test
@Ignore
public void testFromSetFields_unknownFields() throws InvalidProtocolBufferException {
if (isProto3()) {
// No unknown fields in Proto 3.
Expand Down

0 comments on commit 7e3026d

Please sign in to comment.