@Test public void testSourceKeyWithModifiers() throws Exception { MirageRequest request = new MirageRequest(); request.uri(Uri.parse("http: request.provider(new UriProvider(request)); request.addProcessor(new BitmapProcessor() { @Override public String getId() { return "eeek"; } @Override public Bitmap process(Bitmap in) { return null; } }); request.addProcessor(new BitmapProcessor() { @Override public String getId() { return "rrrrr"; } @Override public Bitmap process(Bitmap in) { return null; } }); SimpleKeyMaker keyMaker = new SimpleKeyMaker(); Assert.assertEquals("e5123341", keyMaker.getSourceKey(request)); }
@Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); b.append(request.provider().id().hashCode()); return Integer.toHexString(b.toString().hashCode()); }
SimpleKeyMaker implements KeyMaker { @Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); b.append(request.provider().id().hashCode()); return Integer.toHexString(b.toString().hashCode()); } }
SimpleKeyMaker implements KeyMaker { @Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); b.append(request.provider().id().hashCode()); return Integer.toHexString(b.toString().hashCode()); }  }
SimpleKeyMaker implements KeyMaker { @Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); b.append(request.provider().id().hashCode()); return Integer.toHexString(b.toString().hashCode()); }  @Override String getSourceKey(MirageRequest request); @Override String getResultKey(MirageRequest request); }
SimpleKeyMaker implements KeyMaker { @Override public String getSourceKey(MirageRequest request) { StringBuilder b = new StringBuilder(); b.append(request.provider().id().hashCode()); return Integer.toHexString(b.toString().hashCode()); }  @Override String getSourceKey(MirageRequest request); @Override String getResultKey(MirageRequest request);  }