SYMBOL INDEX (589 symbols across 114 files) FILE: cairosvg-on-alpine/src/svg-converter-service.py function convert_image (line 7) | def convert_image(): FILE: cleaner-code-with-kotlin/src/main/kotlin/functions/ProductClient.java class ProductClient (line 6) | public class ProductClient { method parseProductFromHttpBody (line 8) | public Product parseProductFromHttpBody(Response response){ method mapToDTO (line 25) | private Product mapToDTO(ResponseBody body) { class Product (line 29) | public static class Product{ class ProductClientException (line 33) | public static class ProductClientException extends RuntimeException{ method ProductClientException (line 34) | public ProductClientException(String message) { FILE: compare-payloads/src/main/java/de/philipphauer/blog/BlogPost.java class BlogPost (line 8) | public class BlogPost { method getAuthor (line 14) | public String getAuthor() { method setAuthor (line 18) | public BlogPost setAuthor(String author) { method getContent (line 23) | public String getContent() { method setContent (line 27) | public BlogPost setContent(String content) { method getCreated (line 32) | public Instant getCreated() { method setCreated (line 36) | public BlogPost setCreated(Instant created) { FILE: compare-payloads/src/main/java/de/philipphauer/blog/BlogPost2.java class BlogPost2 (line 5) | public class BlogPost2 { method getAuthorName (line 11) | public String getAuthorName() { method setAuthorName (line 15) | public BlogPost2 setAuthorName(String authorName) { method getContent (line 20) | public String getContent() { method setContent (line 24) | public BlogPost2 setContent(String content) { method getCreated (line 29) | public String getCreated() { method setCreated (line 33) | public BlogPost2 setCreated(String created) { FILE: compare-payloads/src/main/java/de/philipphauer/blog/ComparePayloadApplication.java class ComparePayloadApplication (line 16) | @SpringBootApplication method main (line 20) | public static void main(String[] args) { method ComparePayloadApplication (line 27) | public ComparePayloadApplication(){ method getBlogPosts (line 37) | @RequestMapping(value = "/blogposts", produces = {MediaType.APPLICATIO... method getBlogPosts2 (line 42) | @RequestMapping(value = "/blogposts2", produces = {MediaType.APPLICATI... method format (line 49) | private String format(Instant now) { FILE: continuation-token/demo-kotlin/src/main/resources/create-designs-table.sql type designs (line 1) | CREATE TABLE designs ( FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/DevProductivityApplication.java class DevProductivityApplication (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/WebSecurityConfiguration.java class WebSecurityConfiguration (line 8) | @Configuration method configure (line 10) | @Override FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/model/Role.java type Role (line 3) | public enum Role { FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/model/User.java class User (line 3) | public class User { method getId (line 11) | public int getId() { method setId (line 15) | public User setId(int id) { method getFirstName (line 20) | public String getFirstName() { method setFirstName (line 24) | public User setFirstName(String firstName) { method getLastName (line 29) | public String getLastName() { method setLastName (line 33) | public User setLastName(String lastName) { method getAge (line 38) | public int getAge() { method setAge (line 42) | public User setAge(int age) { method getRole (line 47) | public Role getRole() { method setRole (line 51) | public User setRole(Role role) { method isActive (line 56) | public boolean isActive() { method setActive (line 60) | public User setActive(boolean active) { FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/rest/AdminResource.java class AdminResource (line 6) | @Controller method redirectToUI (line 9) | @GetMapping("/") method favicon (line 14) | @GetMapping("favicon.ico") method customResource (line 19) | @GetMapping("/customResource") FILE: development-productivity-vaadin-spring-boot/src/main/java/de/philipphauer/blog/devproductivity/ui/MyAppUI.java class MyAppUI (line 19) | @SpringUI(path = "") method init (line 26) | @Override method generateDummyUsers (line 43) | private List generateDummyUsers() { FILE: dont-use-in-memory-databases-tests/db-container-managed-by-gradle/src/test/java/de/philipphauer/blog/MyTest.java class MyTest (line 13) | public class MyTest { method init (line 17) | @BeforeClass method foo (line 32) | @Test FILE: dont-use-in-memory-databases-tests/db-container-managed-by-maven/src/test/java/de/philipphauer/blog/MyIT.java class MyIT (line 13) | public class MyIT { method init (line 17) | @BeforeClass method foo (line 32) | @Test FILE: dont-use-in-memory-databases-tests/db-container-managed-by-the-test/src/test/java/de/philipphauer/blog/MyTest.java class MyTest (line 15) | public class MyTest { method init (line 20) | @BeforeClass method destroy (line 34) | @AfterClass method foo (line 39) | @Test FILE: framework-beats-generator/src/main/java/de/philipphauer/h2/H2WebConsole.java class H2WebConsole (line 7) | public class H2WebConsole { method start (line 9) | public static void start() { FILE: framework-beats-generator/src/main/java/de/philipphauer/jpa/Article.java class Article (line 7) | @Entity method Article (line 16) | public Article(String name){ method Article (line 20) | public Article(){ method getName (line 23) | public String getName() { method getId (line 27) | public int getId() { FILE: framework-beats-generator/src/main/java/de/philipphauer/jpa/ArticleDAO.java class ArticleDAO (line 9) | public class ArticleDAO { method ArticleDAO (line 13) | public ArticleDAO() { method save (line 18) | public void save(Article article) { method findAll (line 24) | public Collection
findAll() { method close (line 29) | public void close(){ FILE: framework-beats-generator/src/main/java/de/philipphauer/mongojack/Product.java class Product (line 5) | public class Product { method Product (line 11) | public Product(String name, int price) { method getId (line 16) | public String getId() { method getName (line 20) | public String getName() { method getPrice (line 24) | public int getPrice() { FILE: framework-beats-generator/src/main/java/de/philipphauer/mongojack/ProductDAO.java class ProductDAO (line 11) | public class ProductDAO { method save (line 13) | public void save(Product product) throws UnknownHostException { FILE: framework-beats-generator/src/test/java/de/philipphauer/jpa/ArticleDAOTest.java class ArticleDAOTest (line 6) | public class ArticleDAOTest { method saveAndLoad (line 8) | @Test FILE: framework-beats-generator/src/test/java/de/philipphauer/jpa/H2Test.java class H2Test (line 9) | public class H2Test { method connection (line 11) | @Test FILE: framework-beats-generator/src/test/java/de/philipphauer/mongojack/ProductDAOTest.java class ProductDAOTest (line 5) | public class ProductDAOTest { method save (line 7) | @Test FILE: kotlin-examples/src/main/java/javaVariant/1DefineAndMapBeans.java class BlogEntity (line 12) | class BlogEntity { method BlogEntity (line 20) | public BlogEntity(long id, String name, List posts) { method getName (line 26) | public String getName() { method getPosts (line 30) | public List getPosts() { method getId (line 34) | public long getId() { class PostEntity (line 39) | class PostEntity { method PostEntity (line 46) | public PostEntity(long id, AuthorEntity author, Instant date, String t... method getAuthor (line 54) | public AuthorEntity getAuthor() { method getDate (line 58) | public Instant getDate() { method getText (line 62) | public String getText() { method getComments (line 66) | public List getComments() { method getId (line 70) | public long getId() { class AuthorEntity (line 75) | class AuthorEntity { method AuthorEntity (line 79) | public AuthorEntity(String name, String email) { method getName (line 84) | public String getName() { method getEmail (line 88) | public String getEmail() { class CommentEntity (line 93) | class CommentEntity { method CommentEntity (line 98) | public CommentEntity(String text, AuthorEntity author, Instant date) { method getText (line 104) | public String getText() { method getAuthor (line 108) | public AuthorEntity getAuthor() { method getDate (line 112) | public Instant getDate() { class BlogDTO (line 117) | class BlogDTO{ method BlogDTO (line 122) | public BlogDTO(long id, String name, List posts) { method getName (line 128) | public String getName() { method getPosts (line 132) | public List getPosts() { method getId (line 136) | public long getId() { class PostDTO (line 141) | class PostDTO{ method PostDTO (line 148) | public PostDTO(long id, String date, String author, String text, Strin... method getAuthor (line 156) | public String getAuthor() { method getDate (line 160) | public String getDate() { method getText (line 164) | public String getText() { method getCommentsHref (line 168) | public String getCommentsHref() { method getId (line 172) | public long getId() { class Mapper (line 177) | class Mapper { method mapToBlogDTOs (line 178) | public List mapToBlogDTOs(List entities){ method mapToBlogDTO (line 184) | private BlogDTO mapToBlogDTO(BlogEntity entity){ method mapToPostDTO (line 192) | private List mapToPostDTO(List posts) { method mapToPostDTO (line 199) | private PostDTO mapToPostDTO(PostEntity post) { method getNameOrDefault (line 212) | private String getNameOrDefault(AuthorEntity author) { FILE: kotlin-examples/src/main/java/javaVariant/2ConditionsAndTypeSwitch.java class Conditions (line 6) | class Conditions { method getDefaultLocale (line 7) | public Locale getDefaultLocale(String deliveryArea){ method getExceptionMessage (line 20) | public String getExceptionMessage(Exception exception){ class MyLabeledException (line 31) | class MyLabeledException extends RuntimeException{ method getLabel (line 34) | public String getLabel() { method setLabel (line 38) | public void setLabel(String label) { FILE: kotlin-spring-boot-vaadin-scaffolding/src/main/kotlin/de/philipphauer/blog/misc/constructorinjection/CRMClient.java class CRMClient (line 3) | public class CRMClient { FILE: kotlin-spring-boot-vaadin-scaffolding/src/main/kotlin/de/philipphauer/blog/misc/constructorinjection/CustomerRepository.java class CustomerRepository (line 3) | public class CustomerRepository { FILE: kotlin-spring-boot-vaadin-scaffolding/src/main/kotlin/de/philipphauer/blog/misc/constructorinjection/CustomerResource.java class CustomerResource (line 3) | public class CustomerResource { method CustomerResource (line 8) | public CustomerResource(CustomerRepository repo, CRMClient client) { FILE: kotlin-spring-boot-vaadin-scaffolding/src/main/kotlin/de/philipphauer/blog/misc/vaadin/ActionListenerLambdaExampleJava.java class ActionListenerLambdaExampleJava (line 6) | public class ActionListenerLambdaExampleJava { method bla (line 8) | private void bla(){ method greet (line 15) | private void greet(Button.ClickEvent event){ FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/FuturePlayground.java class FuturePlayground (line 9) | public class FuturePlayground { method bla (line 11) | public void bla() throws ExecutionException, InterruptedException { method start (line 18) | @Scheduled method doBusinessLogic (line 23) | String doBusinessLogic(Locale locale) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/MainLayout.java class MainLayout (line 8) | @Push FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ModernUnitTestingApplication.java class ModernUnitTestingApplication (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/PriceCalculator.java class PriceCalculator (line 5) | @Component FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductController.java class ProductController (line 9) | @RestController method ProductController (line 14) | public ProductController(ProductDAO dao, TaxServiceClient client, Pric... method getProducts (line 18) | @GetMapping("/products") method toDto (line 24) | private List toDto(List products) { method toDto (line 30) | private ProductDTO toDto(ProductEntity entity) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductDAO.java class ProductDAO (line 10) | @Component method ProductDAO (line 15) | public ProductDAO(JdbcTemplate template) { method findProducts (line 19) | public List findProducts() { method map (line 23) | private ProductEntity map(ResultSet resultSet, int i) throws SQLExcept... FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductDTO.java class ProductDTO (line 6) | public class ProductDTO { method getPrice (line 11) | public double getPrice() { method setPrice (line 15) | public ProductDTO setPrice(double price) { method getId (line 20) | public String getId() { method setId (line 24) | public ProductDTO setId(String id) { method getName (line 29) | public String getName() { method setName (line 33) | public ProductDTO setName(String name) { method toString (line 38) | @Override method equals (line 47) | @Override method hashCode (line 57) | @Override FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductEntity.java class ProductEntity (line 3) | public class ProductEntity { method getDescription (line 10) | public String getDescription() { method setDescription (line 14) | public ProductEntity setDescription(String description) { method getStockAmount (line 19) | public int getStockAmount() { method setStockAmount (line 23) | public ProductEntity setStockAmount(int stockAmount) { method getCategory (line 28) | public String getCategory() { method setCategory (line 32) | public ProductEntity setCategory(String category) { method getId (line 37) | public String getId() { method setId (line 41) | public ProductEntity setId(String id) { method getName (line 46) | public String getName() { method setName (line 50) | public ProductEntity setName(String name) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductModel.java class ProductModel (line 6) | public class ProductModel { method getId (line 10) | public String getId() { method setId (line 14) | public ProductModel setId(String id) { method getName (line 19) | public String getName() { method setName (line 23) | public ProductModel setName(String name) { method equals (line 28) | @Override method hashCode (line 37) | @Override method toString (line 42) | @Override FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/ProductView.java class ProductView (line 13) | @Route(value = "", layout = MainLayout.class) method ProductView (line 21) | public ProductView(ProductDAO dao) { method initView (line 26) | private void initView() { method loadButtonHandler (line 35) | private void loadButtonHandler(ClickEvent event) { method toModel (line 40) | private List toModel(List products) { method toModel (line 46) | private ProductModel toModel(ProductEntity entity) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/SchemaCreator.java class SchemaCreator (line 8) | @Component method SchemaCreator (line 13) | public SchemaCreator(JdbcTemplate jdbcTemplate) { method run (line 17) | @Override method createSchema (line 28) | public static void createSchema(JdbcTemplate jdbcTemplate) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/TaxServiceClient.java class TaxServiceClient (line 5) | @Component method TaxServiceClient (line 7) | public TaxServiceClient() { method TaxServiceClient (line 11) | public TaxServiceClient(String url) { FILE: modern-best-practices-testing-java/src/main/java/com/phauer/modernunittesting/TaxServiceResponseDTO.java class TaxServiceResponseDTO (line 5) | public class TaxServiceResponseDTO { method TaxServiceResponseDTO (line 10) | public TaxServiceResponseDTO(Locale germany, double rate) { method getLocale (line 14) | public String getLocale() { method setLocale (line 18) | public TaxServiceResponseDTO setLocale(String locale) { method getRate (line 23) | public double getRate() { method setRate (line 27) | public TaxServiceResponseDTO setRate(double rate) { FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/AssertJTest.java class AssertJTest (line 12) | public class AssertJTest { method bla (line 14) | @Test method createProductDTO (line 73) | private Product createProductDTO(String s, String smartphone, double v) { FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/AwaitilityTest.java class AwaitilityTest (line 11) | public class AwaitilityTest { method waitAndPoll (line 17) | @Test method triggerAsyncEvent (line 25) | private void triggerAsyncEvent() { method findInDatabase (line 29) | private Thread findInDatabase(int i) { type State (line 33) | enum State { FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/DesignControllerTest.java class DesignControllerTest (line 6) | public class DesignControllerTest { class GetDesigns (line 7) | @Nested method allFieldsAreIncluded (line 9) | @Test method limitParameter (line 13) | @Test method filterParameter (line 17) | @Test class DeleteDesign (line 22) | @Nested method designIsRemovedFromDb (line 24) | @Test method return404OnInvalidIdParameter (line 28) | @Test method return401IfNotAuthorized (line 32) | @Test FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/DisplayNameTest.java class DisplayNameTest (line 6) | public class DisplayNameTest { method designIsRemoved (line 7) | @Test method return404 (line 12) | @Test method return401 (line 17) | @Test FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/HelperFunctions.java class HelperFunctions (line 28) | @TestInstance(TestInstance.Lifecycle.PER_CLASS) method setup (line 35) | @BeforeAll method categoryQueryParameter (line 66) | @Test method categoryQueryParameter2 (line 88) | @Test method createSqlInsertStatement (line 103) | private String createSqlInsertStatement(ProductEntity product) { method createProductWithCategory (line 107) | private ProductEntity createProductWithCategory(String id, String cate... method requestProductsByCategory (line 111) | private String requestProductsByCategory(String category) throws Excep... method toDTOs (line 117) | private List toDTOs(String string) throws IOException { method insertIntoDatabase (line 123) | private void insertIntoDatabase(ProductEntity... products) { method toJson (line 129) | private String toJson(TaxServiceResponseDTO taxServiceResponseDTO) thr... method createDataSourceAndStartDatabaseIfNecessary (line 133) | private DataSource createDataSourceAndStartDatabaseIfNecessary() { method beforeEach (line 152) | @BeforeEach FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/ParameterTest.java class ParameterTest (line 8) | public class ParameterTest { method add (line 12) | @ParameterizedTest class Calculator (line 23) | class Calculator { method add (line 25) | public int add(int summand1, int summand2) { FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/Product.java class Product (line 7) | public class Product { method Product (line 15) | public Product() { method Product (line 19) | public Product(int id, String name, String category) { method getId (line 26) | public int getId() { method setId (line 30) | public Product setId(int id) { method getName (line 35) | public String getName() { method setName (line 39) | public Product setName(String name) { method getCategory (line 44) | public String getCategory() { method setCategory (line 48) | public Product setCategory(String category) { method getDateCreated (line 53) | public Instant getDateCreated() { method setDateCreated (line 57) | public Product setDateCreated(Instant dateCreated) { method isLiked (line 62) | public boolean isLiked() { method setLiked (line 66) | public Product setLiked(boolean liked) { method equals (line 71) | @Override method hashCode (line 80) | @Override method toString (line 85) | @Override FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/ProductControllerITest.java class ProductControllerITest (line 30) | @TestInstance(TestInstance.Lifecycle.PER_CLASS) method setup (line 37) | @BeforeAll method databaseDataIsCorrectlyReturned (line 67) | @Test method toDTOs (line 89) | private List toDTOs(String string) throws IOException { method insertIntoDatabase (line 95) | private void insertIntoDatabase(ProductEntity... products) { method toJson (line 102) | private String toJson(TaxServiceResponseDTO taxServiceResponseDTO) thr... method createDataSourceAndStartDatabaseIfNecessary (line 106) | private DataSource createDataSourceAndStartDatabaseIfNecessary() { method beforeEach (line 125) | @BeforeEach FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/ProductControllerITest2.java class ProductControllerITest2 (line 6) | @WebMvcTest(ProductController.class) method foo (line 9) | @Test FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/ProductViewITest.java class ProductViewITest (line 21) | @TestInstance(TestInstance.Lifecycle.PER_CLASS) method beforeAll (line 27) | @BeforeAll method beforeEach (line 42) | @BeforeEach method prodcutsAreCorrectlyDisplayedInTable (line 48) | @Test method insertIntoDatabase (line 64) | private void insertIntoDatabase(ProductEntity... products) { FILE: modern-best-practices-testing-java/src/test/java/com/phauer/modernunittesting/RandomizedValues.java class RandomizedValues (line 10) | public class RandomizedValues { method randomized (line 12) | @Test method fixed (line 22) | @Test FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/MainLayout.java class MainLayout (line 8) | @Push FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ModernUnitTestingApplication.java class ModernUnitTestingApplication (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/PriceCalculator.java class PriceCalculator (line 5) | @Component FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductController.java class ProductController (line 9) | @RestController method ProductController (line 14) | public ProductController(ProductDAO dao, TaxServiceClient client, Pric... method getProducts (line 18) | @GetMapping("/products") method toDto (line 24) | private List toDto(List products) { method toDto (line 30) | private ProductDTO toDto(ProductEntity entity) { FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductDAO.java class ProductDAO (line 10) | @Component method ProductDAO (line 15) | public ProductDAO(JdbcTemplate template) { method findProducts (line 19) | public List findProducts() { method map (line 23) | private ProductEntity map(ResultSet resultSet, int i) throws SQLExcept... FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductDTO.java class ProductDTO (line 6) | public class ProductDTO { method getPrice (line 11) | public double getPrice() { method setPrice (line 15) | public ProductDTO setPrice(double price) { method getId (line 20) | public String getId() { method setId (line 24) | public ProductDTO setId(String id) { method getName (line 29) | public String getName() { method setName (line 33) | public ProductDTO setName(String name) { method toString (line 38) | @Override method equals (line 47) | @Override method hashCode (line 57) | @Override FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductEntity.java class ProductEntity (line 6) | public class ProductEntity { method getId (line 10) | public String getId() { method setId (line 14) | public ProductEntity setId(String id) { method getName (line 19) | public String getName() { method setName (line 23) | public ProductEntity setName(String name) { method equals (line 28) | @Override method hashCode (line 37) | @Override method toString (line 42) | @Override FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductModel.java class ProductModel (line 6) | public class ProductModel { method getId (line 10) | public String getId() { method setId (line 14) | public ProductModel setId(String id) { method getName (line 19) | public String getName() { method setName (line 23) | public ProductModel setName(String name) { method equals (line 28) | @Override method hashCode (line 37) | @Override method toString (line 42) | @Override FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/ProductView.java class ProductView (line 13) | @Route(value = "", layout = MainLayout.class) method ProductView (line 21) | public ProductView(ProductDAO dao) { method initView (line 26) | private void initView() { method loadButtonHandler (line 35) | private void loadButtonHandler(ClickEvent event) { method toModel (line 40) | private List toModel(List products) { method toModel (line 46) | private ProductModel toModel(ProductEntity entity) { FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/SchemaCreator.java class SchemaCreator (line 8) | @Component method SchemaCreator (line 13) | public SchemaCreator(JdbcTemplate jdbcTemplate) { method run (line 17) | @Override method createSchema (line 28) | public static void createSchema(JdbcTemplate jdbcTemplate) { FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/TaxServiceClient.java class TaxServiceClient (line 5) | @Component method TaxServiceClient (line 7) | public TaxServiceClient() { method TaxServiceClient (line 10) | public TaxServiceClient(String url) { FILE: modern-integration-testing/src/main/java/com/phauer/modernunittesting/TaxServiceResponseDTO.java class TaxServiceResponseDTO (line 5) | public class TaxServiceResponseDTO { method TaxServiceResponseDTO (line 10) | public TaxServiceResponseDTO(Locale germany, double rate) { method getLocale (line 14) | public String getLocale() { method setLocale (line 18) | public TaxServiceResponseDTO setLocale(String locale) { method getRate (line 23) | public double getRate() { method setRate (line 27) | public TaxServiceResponseDTO setRate(double rate) { FILE: modern-integration-testing/src/test/java/com/phauer/modernunittesting/AssertJTest.java class AssertJTest (line 11) | public class AssertJTest { method bla (line 13) | @Test method createProductDTO (line 44) | private Product createProductDTO(String s, String smartphone, double v) { FILE: modern-integration-testing/src/test/java/com/phauer/modernunittesting/Product.java class Product (line 6) | public class Product { method getId (line 11) | public String getId() { method setId (line 15) | public Product setId(String id) { method getDateCreated (line 20) | public Instant getDateCreated() { method setDateCreated (line 24) | public Product setDateCreated(Instant dateCreated) { method equals (line 29) | @Override method hashCode (line 38) | @Override FILE: modern-integration-testing/src/test/java/com/phauer/modernunittesting/ProductControllerITest.java class ProductControllerITest (line 30) | @TestInstance(TestInstance.Lifecycle.PER_CLASS) method setup (line 37) | @BeforeAll method databaseDataIsCorrectlyReturned (line 67) | @Test method toDTOs (line 89) | private List toDTOs(String string) throws IOException { method insertIntoDatabase (line 95) | private void insertIntoDatabase(ProductEntity... products) { method toJson (line 101) | private String toJson(TaxServiceResponseDTO taxServiceResponseDTO) thr... method createDataSourceAndStartDatabaseIfNecessary (line 105) | private DataSource createDataSourceAndStartDatabaseIfNecessary() { method beforeEach (line 124) | @BeforeEach FILE: modern-integration-testing/src/test/java/com/phauer/modernunittesting/ProductControllerITest2.java class ProductControllerITest2 (line 6) | @WebMvcTest(ProductController.class) method foo (line 9) | @Test FILE: modern-integration-testing/src/test/java/com/phauer/modernunittesting/ProductViewITest.java class ProductViewITest (line 21) | @TestInstance(TestInstance.Lifecycle.PER_CLASS) method beforeAll (line 27) | @BeforeAll method beforeEach (line 42) | @BeforeEach method prodcutsAreCorrectlyDisplayedInTable (line 48) | @Test method insertIntoDatabase (line 64) | private void insertIntoDatabase(ProductEntity... products) { FILE: mongodb-practice/local-dev/mongo-seeding/seedMongo.py function seed (line 11) | def seed(): function generate_product (line 20) | def generate_product(): FILE: python-demo/1concise-powerful.py function divide (line 2) | def divide(a, b): FILE: python-demo/3functions.py function copy (line 1) | def copy(source_file, target_file, override): function copy2 (line 11) | def copy2(source_file, target_file, override = True): function multiple_return (line 28) | def multiple_return(): FILE: python-demo/4classes.py class User (line 2) | class User: method __init__ (line 3) | def __init__(self, name, age): method introduce_yourself (line 7) | def introduce_yourself(self): FILE: python-demo/5operator-overloading.py class User (line 13) | class User: method __init__ (line 14) | def __init__(self, name, age): method __eq__ (line 18) | def __eq__(self, other): class UserAgeFinder (line 24) | class UserAgeFinder: method __init__ (line 25) | def __init__(self): method __getitem__ (line 28) | def __getitem__(self, name): FILE: rest-api-doc-jaxrs-swagger-asciidoc/src/main/java/de/philipphauer/blog/RestApiDocApplication.java class RestApiDocApplication (line 10) | public class RestApiDocApplication extends Application List: FILE: smooth-local-dev-docker/local-dev/mysql-seeding/seed-mysql.py class MySqlSeeder (line 13) | class MySqlSeeder: method __init__ (line 15) | def __init__(self): method seed (line 31) | def seed(self): method create_user_table (line 43) | def create_user_table(self): method insert_users (line 56) | def insert_users(self): method drop_user_table (line 71) | def drop_user_table(self): function script_runs_within_container (line 75) | def script_runs_within_container(): FILE: testingrestservice/integration-tests/src/test/java/de/philipphauer/blog/testingrestservice/integrationtests/BlogsTest.java class BlogsTest (line 23) | public class BlogsTest { method collectionResourceOK (line 29) | @Test method initSpec (line 46) | @BeforeClass method useSpec (line 55) | @Test method createBlogAndCheckExistence (line 66) | @Test method createBlogAndCheckExistenceReadable (line 115) | @Test method createDummyBlog (line 123) | private BlogDTO createDummyBlog() { method createResource (line 131) | private String createResource(String path, Object bodyPayload) { method getResource (line 143) | private T getResource(String locationHeader, Class responseClas... method assertEqualBlog (line 153) | private void assertEqualBlog(BlogDTO newBlog, BlogDTO retrievedBlog) { method assertEqualBlog2 (line 162) | private void assertEqualBlog2(BlogDTO newBlog, BlogDTO retrievedBlog) { method getAllBlogsWithMapping (line 172) | @Test method getAllBlogsWithJsonPath (line 188) | @Test method createBlogAndCheckInList (line 215) | @Test method jsonPath (line 259) | @Test method extractId (line 266) | private int extractId(String resourceLocation) { method waitAndPoll (line 275) | @Test method sendAsyncEventThatChangesABlog (line 287) | private void sendAsyncEventThatChangesABlog(int i) { method waitAndPoll2 (line 295) | @Test method test (line 305) | @Test FILE: testingrestservice/integration-tests/src/test/java/de/philipphauer/blog/testingrestservice/integrationtests/dto/BlogDTO.java class BlogDTO (line 5) | @JsonIgnoreProperties(ignoreUnknown = true) method BlogDTO (line 13) | public BlogDTO() {} method BlogDTO (line 16) | public BlogDTO(String name, String description, String url) { method getName (line 22) | public String getName() { method setName (line 26) | public BlogDTO setName(String name) { method getDescription (line 31) | public String getDescription() { method setDescription (line 35) | public BlogDTO setDescription(String description) { method getUrl (line 40) | public String getUrl() { method setUrl (line 44) | public BlogDTO setUrl(String url) { FILE: testingrestservice/integration-tests/src/test/java/de/philipphauer/blog/testingrestservice/integrationtests/dto/BlogListDTO.java class BlogListDTO (line 7) | @JsonIgnoreProperties(ignoreUnknown = true) class BlogReference (line 14) | public static class BlogReference{ FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/BlogApplication.java class BlogApplication (line 8) | @SpringBootApplication method main (line 13) | public static void main(String[] args) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/BlogRepository.java type BlogRepository (line 6) | public interface BlogRepository extends CrudRepository { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/DatabaseInitializer.java class DatabaseInitializer (line 20) | @Component method run (line 29) | @Override method createComments (line 37) | private List createComments(int amount) { method createPosts (line 47) | private List createPosts(int amount) { method createBlogs (line 68) | private List createBlogs(int amount) { method createRandomName (line 87) | private String createRandomName() { method createRandomCommentText (line 95) | private String createRandomCommentText() { method createRandomPostTitle (line 103) | private String createRandomPostTitle() { method createRandomBlogTitle (line 112) | private String createRandomBlogTitle() { method getRandomElement (line 116) | private String getRandomElement(List list) { method createRandomTags (line 122) | private String[] createRandomTags() { method toSlug (line 127) | public String toSlug(String blogTitle){ FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/PostRepository.java type PostRepository (line 6) | public interface PostRepository extends CrudRepository { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/entities/BlogEntity.java class BlogEntity (line 7) | @Entity method getId (line 20) | public long getId() { method setId (line 24) | public BlogEntity setId(long id) { method getName (line 29) | public String getName() { method setName (line 33) | public BlogEntity setName(String name) { method getDescription (line 38) | public String getDescription() { method setDescription (line 42) | public BlogEntity setDescription(String description) { method getPosts (line 47) | public List getPosts() { method setPosts (line 51) | public BlogEntity setPosts(List posts) { method getUrl (line 56) | public String getUrl() { method setUrl (line 60) | public BlogEntity setUrl(String url) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/entities/CommentEntity.java class CommentEntity (line 6) | @Entity method getId (line 17) | public long getId() { method setId (line 21) | public CommentEntity setId(long id) { method getCreatedDateTime (line 26) | public LocalDateTime getCreatedDateTime() { method setCreatedDateTime (line 30) | public CommentEntity setCreatedDateTime(LocalDateTime createdDateTime) { method getAuthor (line 35) | public String getAuthor() { method setAuthor (line 39) | public CommentEntity setAuthor(String author) { method getContent (line 44) | public String getContent() { method setContent (line 48) | public CommentEntity setContent(String content) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/dataaccess/entities/PostEntity.java class PostEntity (line 8) | @Entity method getTags (line 28) | public String[] getTags() { method setTags (line 32) | public PostEntity setTags(String[] tags) { method getFeaturedImage (line 37) | public String getFeaturedImage() { method setFeaturedImage (line 41) | public PostEntity setFeaturedImage(String featuredImage) { method getViewCount (line 46) | public int getViewCount() { method setViewCount (line 50) | public PostEntity setViewCount(int viewCount) { method getSlug (line 55) | public String getSlug() { method setSlug (line 59) | public PostEntity setSlug(String slug) { method getId (line 64) | public long getId() { method setId (line 68) | public PostEntity setId(long id) { method getCreatedDateTime (line 73) | public LocalDateTime getCreatedDateTime() { method setCreatedDateTime (line 77) | public PostEntity setCreatedDateTime(LocalDateTime createdDateTime) { method getTitle (line 82) | public String getTitle() { method setTitle (line 86) | public PostEntity setTitle(String title) { method getTeaser (line 91) | public String getTeaser() { method setTeaser (line 95) | public PostEntity setTeaser(String teaser) { method getContent (line 100) | public String getContent() { method setContent (line 104) | public PostEntity setContent(String content) { method getComments (line 109) | public List getComments() { method setComments (line 113) | public PostEntity setComments(List comments) { method getAuthor (line 118) | public String getAuthor() { method setAuthor (line 122) | public PostEntity setAuthor(String author) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/rest/BlogsResource.java class BlogsResource (line 23) | @RestController method createBlog (line 32) | @RequestMapping(value = "", method = RequestMethod.POST) method mapToEntry (line 44) | private BlogEntity mapToEntry(BlogDTO blogDto) { method getAll (line 51) | @RequestMapping(value = "", method = RequestMethod.GET) method getBlog (line 58) | @RequestMapping(value = "/{id}", method = RequestMethod.GET) method getAllBlogPosts (line 65) | @RequestMapping(value = "/{blogId}/posts", method = RequestMethod.GET) method getBlogPost (line 73) | @RequestMapping(value = "/{blogId}/posts/{postId}", method = RequestMe... method mapToDTO (line 79) | private BlogDTO mapToDTO(BlogEntity blog) { method mapToDTO (line 90) | private List mapToDTO(long blogId, List post... method mapToDTO (line 96) | private ReferenceDTO mapToDTO(long blogId, PostEntity post){ method mapToDTO (line 104) | private BlogsDTO mapToDTO(Collection blogs) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/rest/dto/BlogDTO.java class BlogDTO (line 5) | public class BlogDTO { method getUrl (line 12) | public String getUrl() { method setUrl (line 16) | public BlogDTO setUrl(String url) { method getName (line 21) | public String getName() { method setName (line 25) | public BlogDTO setName(String name) { method getDescription (line 30) | public String getDescription() { method setDescription (line 34) | public BlogDTO setDescription(String description) { method getPosts (line 39) | public List getPosts() { method setPosts (line 43) | public BlogDTO setPosts(List posts) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/rest/dto/BlogsDTO.java class BlogsDTO (line 5) | public class BlogsDTO { method getBlogs (line 12) | public List getBlogs() { method getCount (line 16) | public int getCount() { method getOffset (line 20) | public int getOffset() { method getLimit (line 24) | public int getLimit() { method setBlogs (line 28) | public BlogsDTO setBlogs(List blogs) { method setCount (line 33) | public BlogsDTO setCount(int count) { method setOffset (line 38) | public BlogsDTO setOffset(int offset) { method setLimit (line 43) | public BlogsDTO setLimit(int limit) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/rest/dto/ReferenceDTO.java class ReferenceDTO (line 3) | public class ReferenceDTO { method getName (line 9) | public String getName() { method setName (line 13) | public ReferenceDTO setName(String name) { method getId (line 18) | public long getId() { method setId (line 22) | public ReferenceDTO setId(long id) { method getHref (line 27) | public String getHref() { method setHref (line 31) | public ReferenceDTO setHref(String href) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/servicecall/ImageReference.java class ImageReference (line 3) | public class ImageReference { method getId (line 8) | public String getId() { method setId (line 12) | public ImageReference setId(String id) { method getHref (line 18) | public String getHref() { method setHref (line 22) | public ImageReference setHref(String href) { FILE: testingrestservice/service/src/main/java/de/philipphauer/blog/testingrestservice/service/servicecall/ImageServiceClient.java class ImageServiceClient (line 8) | public class ImageServiceClient { method ImageServiceClient (line 13) | public ImageServiceClient(String imageServiceHost, int imageServicePor... method requestImage (line 18) | public ImageReference requestImage(String id){ FILE: testingrestservice/service/src/test/java/de/philipphauer/blog/testingrestservice/service/servicecall/ImageReferenceServiceClientTest.java class ImageReferenceServiceClientTest (line 15) | public class ImageReferenceServiceClientTest { method init (line 20) | @Before method requestImage (line 28) | @Test FILE: ti-continuation-token/src/main/resources/create-designs-table.sql type designs (line 1) | CREATE TABLE designs ( FILE: uuid-mysql-hibernate/src/main/java/de/philipphauer/blog/ProductsResource.java class ProductsResource (line 16) | @RestController method createProduct (line 23) | @Transactional method getProducts (line 31) | @Transactional FILE: uuid-mysql-hibernate/src/main/java/de/philipphauer/blog/UuidMysqlHibernateApplication.java class UuidMysqlHibernateApplication (line 6) | @SpringBootApplication method main (line 9) | public static void main(String[] args) { FILE: uuid-mysql-hibernate/src/main/java/de/philipphauer/blog/model/Product.java class Product (line 11) | @Entity method getId (line 22) | public UUID getId() { method setId (line 26) | public Product setId(UUID id) { method getName (line 31) | public String getName() { method setName (line 35) | public Product setName(String name) { FILE: vaadin-10-sass-cssrefresh/src/main/java/com/phauer/vaadin10sasscssrefresh/CustomVaadinServiceListener.java class CustomVaadinServiceListener (line 10) | @Component method serviceInit (line 12) | @Override class CustomBootstrapListener (line 18) | static class CustomBootstrapListener implements BootstrapListener { method modifyBootstrapPage (line 19) | @Override FILE: vaadin-10-sass-cssrefresh/src/main/java/com/phauer/vaadin10sasscssrefresh/ExampleView.java class ExampleView (line 10) | @Route(value = "", layout = MainLayout.class) method ExampleView (line 13) | public ExampleView(){ method addLabelToView (line 21) | private void addLabelToView(ClickEvent