aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2018-02-09 08:58:41 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-09 09:00:38 -0800
commit22d5a658a22d33981e08633ddbef256d05a2c515 (patch)
tree2da7eaeb745662b665cc0680ec9a00b361952f91 /third_party/ijar
parenta4cf463814cc3a0dcffccd4c7038c494395c0998 (diff)
Automated rollback of commit 13018aab51d3e08f274eba0f36ca7b4aa70e5222.
*** Reason for rollback *** Cascade rollback to unbreak bazel tests *** Original change description *** Update ijar tests to verify time stamp. *** PiperOrigin-RevId: 185147605
Diffstat (limited to 'third_party/ijar')
-rw-r--r--third_party/ijar/test/IjarTests.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/third_party/ijar/test/IjarTests.java b/third_party/ijar/test/IjarTests.java
index 467680552b..d07b37e3d2 100644
--- a/third_party/ijar/test/IjarTests.java
+++ b/third_party/ijar/test/IjarTests.java
@@ -23,11 +23,9 @@ import com.google.common.io.ByteStreams;
import com.google.devtools.build.java.bazel.BazelJavaCompiler;
import java.io.File;
import java.io.IOException;
-import java.time.Instant;
import java.util.Arrays;
import java.util.Collections;
import java.util.Enumeration;
-import java.util.GregorianCalendar;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
@@ -287,9 +285,6 @@ public class IjarTests {
Attributes attributes = manifest.getMainAttributes();
assertThat(attributes.getValue("Target-Label")).isEqualTo("//foo:foo");
assertThat(attributes.getValue("Injecting-Rule-Kind")).isEqualTo("foo_library");
- assertThat(jf.getEntry(JarFile.MANIFEST_NAME).getLastModifiedTime().toInstant())
- .isEqualTo(
- Instant.ofEpochMilli(new GregorianCalendar(1980, 0, 1, 0, 0, 0).getTimeInMillis()));
}
}
}