升级到GAE(Java)1.7.3时,此测试开始针对本地GAE实例失败:
@Test
public void testStats() throws Exception {
AppEngineFile file = service.createNewBlobFile("text/plain", "records123.txt");
writeToFileAndFinalize(file, "This is content.");
FileStat stat = service.stat(file);
Assert.assertNotNull(stat);
Assert.assertTrue(stat.isFinalized());
Assert.assertEquals("records123.txt", stat.getFilename());
Assert.assertTrue(stat.getLength() > 0);
}
测试失败:testStats(org.jboss.test.capedwarf.files.test.FilesTestCase):expected:< [records123.txt]>但是:< [/ blobstore / writable:R45VqzenfR-tGfHPVFWa-A]>
错误或功能?