test_class.declarator: GOOD_FLASHPIX_VERSION = "0100"
test_class.modifier: private static final
test_class.original_string: private static final String GOOD_FLASHPIX_VERSION = "0100";
test_class.type: String
test_class.var_name: GOOD_FLASHPIX_VERSION
test_class.declarator: BAD_FLASHPIX_VERSION = "0010"
test_class.modifier: private static final
test_class.original_string: private static final String BAD_FLASHPIX_VERSION = "0010";
test_class.type: String
test_class.var_name: BAD_FLASHPIX_VERSION
test_class.declarator: GOOD_EXIF_VERSION = "0200"
test_class.modifier: private static final
test_class.original_string: private static final String GOOD_EXIF_VERSION = "0200";
test_class.type: String
test_class.var_name: GOOD_EXIF_VERSION
test_class.declarator: GOOD_EXIF_VERSION2 = "0221"
test_class.modifier: private static final
test_class.original_string: private static final String GOOD_EXIF_VERSION2 = "0221";
test_class.type: String
test_class.var_name: GOOD_EXIF_VERSION2
test_class.declarator: BAD_EXIF_VERSION = "0101"
test_class.modifier: private static final
test_class.original_string: private static final String BAD_EXIF_VERSION = "0101";
test_class.type: String
test_class.var_name: BAD_EXIF_VERSION
test_class.declarator: GOOD_COLORSPACE = 65535
test_class.modifier: private static final
test_class.original_string: private static final int GOOD_COLORSPACE = 65535;
test_class.type: int
test_class.var_name: GOOD_COLORSPACE
test_class.declarator: BAD_COLORSPACE = 3
test_class.modifier: private static final
test_class.original_string: private static final int BAD_COLORSPACE = 3;
test_class.type: int
test_class.var_name: BAD_COLORSPACE
test_class.declarator: profile
test_class.modifier: private
test_class.original_string: private TiffProfileExifIFD profile;
test_class.type: TiffProfileExifIFD
test_class.var_name: profile
test_class.file: jhove-modules/tiff-hul/src/test/java/edu/harvard/hul/ois/jhove/module/tiff/TiffProfileExifIFDTest.java
test_class.identifier: TiffProfileExifIFDTest
test_case.body: @Test
  	public void testSatisfiesThisProfileKO() {
  		ExifIFD ifd = new ExifIFD(0, null, null, true);
  
  		ifd._colorSpace = GOOD_COLORSPACE;
  		ifd._exifVersion = BAD_EXIF_VERSION;
  		ifd._flashpixVersion = GOOD_FLASHPIX_VERSION;
  		assertFalse(profile.satisfiesThisProfile(ifd));
  
  		ifd._colorSpace = GOOD_COLORSPACE;
  		ifd._exifVersion = GOOD_EXIF_VERSION;
  		ifd._flashpixVersion = BAD_FLASHPIX_VERSION;
  		assertFalse(profile.satisfiesThisProfile(ifd));
  
  		ifd._colorSpace = BAD_COLORSPACE;
  		ifd._exifVersion = GOOD_EXIF_VERSION;
  		ifd._flashpixVersion = GOOD_FLASHPIX_VERSION;
  		assertFalse(profile.satisfiesThisProfile(ifd));
  	}
test_case.class_method_signature: TiffProfileExifIFDTest.testSatisfiesThisProfileKO()
test_case.full_signature: @Test public void testSatisfiesThisProfileKO()
test_case.identifier: testSatisfiesThisProfileKO
test_case.invocations: assertFalse satisfiesThisProfile assertFalse satisfiesThisProfile assertFalse satisfiesThisProfile
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testSatisfiesThisProfileKO()
focal_class.declarator: ACCEPTED_EXIF_VERSIONS = { "0200", "0210",
  			"0220", "0221", "0230" }
focal_class.modifier: private static final
focal_class.original_string: private static final String[] ACCEPTED_EXIF_VERSIONS = { "0200", "0210",
  			"0220", "0221", "0230" };
focal_class.type: String[]
focal_class.var_name: ACCEPTED_EXIF_VERSIONS
focal_class.declarator: _majVersion
focal_class.modifier: private
focal_class.original_string: private int _majVersion;
focal_class.type: int
focal_class.var_name: _majVersion
focal_class.declarator: _minVersion
focal_class.modifier: private
focal_class.original_string: private int _minVersion;
focal_class.type: int
focal_class.var_name: _minVersion
focal_class.file: jhove-modules/tiff-hul/src/main/java/edu/harvard/hul/ois/jhove/module/tiff/TiffProfileExifIFD.java
focal_class.identifier: TiffProfileExifIFD
focal_class.class_method_signature: TiffProfileExifIFD.TiffProfileExifIFD()
focal_class.full_signature: public  TiffProfileExifIFD()
focal_class.identifier: TiffProfileExifIFD
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  TiffProfileExifIFD()
focal_class.class_method_signature: TiffProfileExifIFD.satisfiesThisProfile(IFD ifd)
focal_class.full_signature: @Override public boolean satisfiesThisProfile(IFD ifd)
focal_class.identifier: satisfiesThisProfile
focal_class.modifiers: @Override public
focal_class.parameters: (IFD ifd)
focal_class.return: boolean
focal_class.signature: boolean satisfiesThisProfile(IFD ifd)
focal_class.class_method_signature: TiffProfileExifIFD.getMajorVersion()
focal_class.full_signature: public int getMajorVersion()
focal_class.identifier: getMajorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMajorVersion()
focal_class.class_method_signature: TiffProfileExifIFD.getMinorVersion()
focal_class.full_signature: public int getMinorVersion()
focal_class.identifier: getMinorVersion
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMinorVersion()
focal_class.superclass: extends TiffProfile
focal_method.body: @Override
  	public boolean satisfiesThisProfile (IFD ifd) 
      {
          if (!(ifd instanceof ExifIFD)) {
              return false;
          }
          ExifIFD eifd = (ExifIFD) ifd;
          String version = eifd.getExifVersion ();
          for (String acceptedVersion : ACCEPTED_EXIF_VERSIONS) {
          	if (acceptedVersion.equals (version)) {
                  _majVersion = Integer.parseInt(version.substring(0, 2));
                  _minVersion = Integer.parseInt(version.substring(2, 4));
                  break;
          	}
          }
          if (_majVersion == -1) {
              // Other versions aren't accepted
              return false;
          }
          
          if (!("0100".equals(eifd.getFlashpixVersion ()))) {
              return false;
          }
          int colspc = eifd.getColorspace ();
          return !(colspc != 1 && colspc != 65535);
      }
focal_method.class_method_signature: TiffProfileExifIFD.satisfiesThisProfile(IFD ifd)
focal_method.full_signature: @Override public boolean satisfiesThisProfile(IFD ifd)
focal_method.identifier: satisfiesThisProfile
focal_method.invocations: getExifVersion equals parseInt substring parseInt substring equals getFlashpixVersion getColorspace
focal_method.modifiers: @Override public
focal_method.parameters: (IFD ifd)
focal_method.return: boolean
focal_method.signature: boolean satisfiesThisProfile(IFD ifd)