Skip to content

Commit

Permalink
removed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganesh Tiwari(gtiwari333) committed Nov 15, 2023
1 parent 526eef0 commit 5e6f074
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 23 deletions.
Binary file removed Tests/Data/nikonD610.jpg.app1.0
Binary file not shown.
Binary file removed Tests/Data/nikonD750.jpg.app1.0
Binary file not shown.
23 changes: 0 additions & 23 deletions Tests/com/drew/metadata/exif/NikonType2MakernoteTest2.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,29 +59,6 @@ public void setUp() throws Exception
assertNotNull(_exifSubIFDDirectory);
}


@Test
public void testNikonPictureControl1Directory() throws Exception {
Metadata metadata = ExifReaderTest.processBytes("Tests/Data/nikonD610.jpg.app1.0");

Directory directory = metadata.getFirstDirectoryOfType(NikonPictureControl1Directory.class);
assertNotNull(directory);
assertEquals( "0100", directory.getDescription(NikonPictureControl1Directory.TAG_PICTURE_CONTROL_VERSION));
assertEquals( "STANDARD", directory.getDescription(NikonPictureControl1Directory.TAG_PICTURE_CONTROL_NAME));
assertEquals( "STANDARD", directory.getDescription(NikonPictureControl1Directory.TAG_PICTURE_CONTROL_BASE));
assertEquals( "Default Settings", directory.getDescription(NikonPictureControl1Directory.TAG_PICTURE_CONTROL_ADJUST));
}
@Test
public void testNikonPictureControl2Directory() throws Exception {
Metadata metadata = ExifReaderTest.processBytes("Tests/Data/nikonD750.jpg.app1.0");
Directory directory = metadata.getFirstDirectoryOfType(NikonPictureControl2Directory.class);
assertNotNull(directory);
assertEquals( "0200", directory.getDescription(NikonPictureControl2Directory.TAG_PICTURE_CONTROL_VERSION));
assertEquals( "STANDARD", directory.getDescription(NikonPictureControl2Directory.TAG_PICTURE_CONTROL_NAME));
assertEquals( "STANDARD", directory.getDescription(NikonPictureControl2Directory.TAG_PICTURE_CONTROL_BASE));
assertEquals( "Default Settings", directory.getDescription(NikonPictureControl2Directory.TAG_PICTURE_CONTROL_ADJUST));
}

/*
[Nikon Makernote] Makernote Unknown 1 =
[Nikon Makernote] ISO Setting = Unknown (0 0)
Expand Down

0 comments on commit 5e6f074

Please sign in to comment.