class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
DescriptorData | /*******************************************************************************
*
* Copyright (C) 2015 Mytech Ingenieria Aplicada <http://www.mytechia.com>
* Copyright (C) 2015 Alejandro Paz <alejandropl@lagostelle.com>
*
* This file is part of Broccoli.
*
* Broccoli is free software: you can redistribute it an... | .version 52 0
.class public super DescriptorData
.super java/lang/Object
.field private contents Ljava/lang/String;
.field private name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:42:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:42:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,300 |
Solution | import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.regex.*;
public class Solution {
// Complete the fairRations function below.
static int fairRations(int[] B) {
int count = 0;
for (int i = 0; i < B.length -... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:41:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:41:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,301 |
GenerateReviewUrl | import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.util.HashSet;
public class GenerateReviewUrl {
/**
* @param args
*/
public static void main(String[] args) {
BufferedWriter wri... | .version 52 0
.class public super GenerateReviewUrl
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:02:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.testdata.EvoSuiteFile;
import org.evosuite.runtime.te... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:02:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,302 |
FreeMarkerRenderException | /*
* Copyright (c) 2001-2007, Inversoft Inc., All Rights Reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | .version 52 0
.class public super FreeMarkerRenderException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 26
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 15:33:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 15:33:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,303 |
Solution | /**
* accepted at 2014-11-12
*
* @author 梁宗桦
*/
public class Solution {
public String longestPalindrome(String s) {
if (s == null || s.length() == 1) {
return s;
}
int length = s.length();
int longest = 1;
int start = 0;
char[] chars = s.toCharArray();
if (chars[0] == chars[1]) ... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:58:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:58:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,304 |
MessageData | /*******************************************************************************
*
* Copyright 2015 Walmart, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* htt... | .version 52 0
.class public super MessageData
.super java/lang/Object
.field private payload Ljava/lang/String;
.field private headers Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:29:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:29:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,305 |
MergeSort | public class MergeSort {
private static long inversionCount = 0;
protected static int[] mergeSort(int[] inputArray) {
int totalLength = inputArray.length;
if (totalLength <= 1) return inputArray;
int[] left, right, result;
int middle = totalLength / 2;
left = new int[middle];
right = new i... | .version 52 0
.class public super MergeSort
.super java/lang/Object
.field private static inversionCount J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:28:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:28:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,306 |
User | import java.io.Serializable;
import java.util.Date;
public class User implements Serializable {
/** */
private static final long serialVersionUID = 5224130771324051176L;
private Integer id;
private String name;
private String surname;
private Date birtday;
public Integer getId() {
return id;
}
... | .version 52 0
.class public super User
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 5224130771324051176L
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.field private surname Ljava/lang/String;
.field private birtday Ljav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:20:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:20:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,307 |
Authenticated | public class Authenticated {
String token_type;
String access_token;
}
| .version 52 0
.class public super Authenticated
.super java/lang/Object
.field token_type Ljava/lang/String;
.field access_token Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:40:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:40:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,308 |
ParsedAtom | /*
"QT Atom Parse" (c) 2003, Chris Adamson, invalidname@mac.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, ... | .version 52 0
.class public super abstract ParsedAtom
.super java/lang/Object
.field protected size J
.field protected type Ljava/lang/String;
.method protected <init> : (JLjava/lang/String;)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:50:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:50:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,309 |
HttpCallbackListener | public class HttpCallbackListener {
void onFinish(String response) {}
void onError(Exception e) {}
}
| .version 52 0
.class public super HttpCallbackListener
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:14:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockException;
import org.evosuite.run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:14:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,310 |
FastByteBuffer | // Copyright (c) 2003-present, Jodd Team (jodd.org). All Rights Reserved.
/**
* Fast, fast <code>byte</code> buffer. This buffer implementation does not store all data in single
* array, but in array of chunks.
*/
public class FastByteBuffer {
private byte[][] buffers = new byte[16][];
private int buffersCount... | .version 52 0
.class public super FastByteBuffer
.super java/lang/Object
.field private buffers [[B
.field private buffersCount I
.field private currentBufferIndex I
.field private currentBuffer [B
.field private offset I
.field private size I
.field private final minChunkLen I
.method public <init> : ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:07:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:07:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,311 |
Table | import java.util.ArrayList;
import java.util.List;
/**
* @author Wesley Egberto on 31/05/16.
*/
public class Table {
private int currentIndex;
private String currentArg = "";
private List<String> commands = new ArrayList<>();
public void setCurrentIndex(int currentIndex) {
this.currentIndex = currentIn... | .version 52 0
.class public super Table
.super java/lang/Object
.field private currentIndex I
.field private currentArg Ljava/lang/String;
.field private commands Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code st... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:57:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:57:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,312 |
Util | import java.util.Iterator;
public abstract class Util {
public static String mkString(
final Iterable<?> iterable, final String start, final String sep, final String end) {
final StringBuilder text = new StringBuilder();
if (start != null) text.append(start);
if (iterable != null) {
boolean ... | .version 52 0
.class public super abstract Util
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:35:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import java.util.ArrayDeque;
import java.util.Comparator;
import java.util.LinkedHashSet;
import java.util.Local... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:35:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,313 |
MockBean4CodecPrimitives | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super MockBean4CodecPrimitives
.super java/lang/Object
.field bool Z
.field b B
.field c C
.field d D
.field f F
.field i I
.field l J
.field s S
.field boolobj Ljava/lang/Boolean;
.field bobj Ljava/lang/Byte;
.field cobj Ljava/lang/Character;
.field dobj Ljava/lang/Double;
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:22:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:22:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,314 |
RangeIterator | import java.util.Iterator;
/**
* @author Enrico Salvucci(via @author Mirko Viroli) {@link
* http://campus.unibo.it/160383/1/10-Collections.pdf}
*/
public class RangeIterator implements Iterator<Integer> {
private int current;
private int stop;
private int step;
public RangeIterator(int start, int stop... | .version 52 0
.class public super RangeIterator
.super java/lang/Object
.implements java/util/Iterator
.field private current I
.field private stop I
.field private step I
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:49:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:49:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,315 |
helper | public class helper {
static boolean equals(Object expected, Object actual) {
if (expected.equals(actual)) return true;
return false;
}
}
| .version 52 0
.class public super helper
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:36:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:36:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,316 |
Point | /*
* Copyright (c) 2011, GeoJosh - https://github.com/GeoJosh
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* ... | .version 52 0
.class public super Point
.super java/lang/Object
.field private x F
.field private y F
.method public <init> : (FF)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: fload_1
L6: putfield Field Point x F
L9: al... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:05:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:05:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,317 |
Problem717 | /** https://leetcode.com/problems/1-bit-and-2-bit-characters/ */
public class Problem717 {
public boolean isOneBitCharacter(int[] bits) {
int i = 0;
boolean found = false;
while (i < bits.length) {
if (bits[i] == 1) {
i += 2;
found = false;
} else {
i++;
found =... | .version 52 0
.class public super Problem717
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:15:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:15:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,318 |
Komplex | public class Komplex {
// Változók
private double re;
private double im;
// Konstruktorok
public Komplex() {
this(0.0, 0.0);
}
public Komplex(double _re, double _im) {
this.re = _re;
this.im = _im;
}
// Setter,Getter
public double getRe() {
return this.re;
}
public double ... | .version 52 0
.class public super Komplex
.super java/lang/Object
.field private re D
.field private im D
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: dconst_0
L2: dconst_0
L3: invokespecial Method Komplex <init> (DD)V
L6: return
L7:
.linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:57:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:57:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,319 |
TextFinder | import static java.lang.String.join;
import java.util.Arrays;
import java.util.Map;
import java.util.TreeMap;
public class TextFinder {
private static double DERIVATION = 0.3;
/**
* Smart Text finder that allows to fins piece of corrupted text
*
* @param pattern
* @param text
* @return
*/
pu... | .version 52 0
.class public super TextFinder
.super java/lang/Object
.field private static DERIVATION D
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:35:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:35:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,320 |
RestPaths | /** Created by gm on 2014-11-17. */
public class RestPaths {
public static final String API_PATH = "http://localhost:8080/teerecorder-server/api";
public static final String NEWS_ENDING = "news/latest";
}
| .version 52 0
.class public super RestPaths
.super java/lang/Object
.field public static final API_PATH Ljava/lang/String; = 'http://localhost:8080/teerecorder-server/api'
.field public static final NEWS_ENDING Ljava/lang/String; = 'news/latest'
.method public <init> : ()V
.code stack 1 locals 1
L0: alo... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:31:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:31:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,321 |
DTMNodeListBase | /*
* #%L
* Matos
* $Id:$
* $HeadURL:$
* %%
* Copyright (C) 2010 - 2014 Orange SA
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | .version 52 0
.class public super DTMNodeListBase
.super java/lang/Object
.implements org/w3c/dom/NodeList
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 31
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:46:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import org.w3c.dom.Node;
@RunWith(EvoRunner.cla... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:46:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,322 |
InvalidDestructDateException | /** Throw this when destruct date is out of bounds or not in valid number format. */
public class InvalidDestructDateException extends Exception {
public InvalidDestructDateException(
String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppr... | .version 52 0
.class public super InvalidDestructDateException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
.code stack 5 locals 5
L0: aload_0
L1: aload_1
L2: aload_2
L3: iload_3
L4: iload 4
L6: invokespecial Method java/lang/Exce... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:32:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:32:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,323 |
Reference | public class Reference {
public static final String MOD_ID = "Permaculture";
public static final String MOD_NAME = "Permaculture";
public static final String VERSION = "1.7.10-0.1";
public static final String CLIENT_PROXY_CLASS = "com.dregath.permaculture.proxy.ClientProxy";
public static final String SERVER_... | .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final MOD_ID Ljava/lang/String; = 'Permaculture'
.field public static final MOD_NAME Ljava/lang/String; = 'Permaculture'
.field public static final VERSION Ljava/lang/String; = '1.7.10-0.1'
.field public static final CLIENT_P... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:45:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:45:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,324 |
Constants | public class Constants {
/** Name used for created class objects. */
public static String classObjectName = "test";
/** Default depth how deeply to search for parameters. */
public static int depth = 3;
/** Postfix for generated test classes. */
public static String testClassPostfix = "Test";
/** Prefix ... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static classObjectName Ljava/lang/String;
.field public static depth I
.field public static testClassPostfix Ljava/lang/String;
.field public static testMethodPrefix Ljava/lang/String;
.field public static differentFolder Z
.field... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:31:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:31:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,325 |
FileLine | public class FileLine {
public String format(String title, String[] columns) {
StringBuilder builder = new StringBuilder();
builder.append(title);
builder.append("\n");
for (int i = 0; i < columns.length; i += 2) {
String name = columns[i];
String value = columns[i + 1];
// Unfort... | .version 52 0
.class public super FileLine
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:00:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:00:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,326 |
God | /**
* Eclipse Public License - v 1.0
*
* <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S
* ACCEPTANCE OF THIS AGREEMENT.
*
* <p>1. DEFINITIONS
*
* <p>"Contribution" means:
*
* ... | .version 52 0
.class public super God
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 135
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:12:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:12:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,327 |
PreparedStatementTest | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
public class PreparedStatementTest {
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
try {
Class.forName("ora... | .version 52 0
.class public super PreparedStatementTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:48:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,328 |
First | import java.util.List;
public class First {
public static <T> T first(List<T> a) {
return a.get(0);
}
}
| .version 52 0
.class public super First
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:27:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:27:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,329 |
Random | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super Random
.super java/lang/Object
.implements java/io/Serializable
.field private static extraSeed I
.field private static final serialVersionUID J = 40335522290950498L
.field private final random Ljava/util/Random;
.method public <init> : ()V
.code stack 5 locals 1
L0: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:50:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:50:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,330 |
CustProductInfo | /**
* Class to encapsulate the customer/product information
*
* @author Ian
*/
public class CustProductInfo {
private static final long HIGH_DATE = 2147483647;
/**
* The CustProductInfo structure holds the information about the products the, customer has,
* including the validity dates. Note that we are ... | .version 52 0
.class public super CustProductInfo
.super java/lang/Object
.field private static final HIGH_DATE J = 2147483647L
.field ProductID Ljava/lang/String;
.field Service Ljava/lang/String;
.field SubId Ljava/lang/String;
.field ProductRefId J
.field UTCValidFrom J
.field UTCValidTo J
.field Quantity ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:53:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:53:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,331 |
Main | import java.math.BigInteger;
import java.util.Scanner;
class Main {
public static void main(String[] Args) {
Scanner sc = new Scanner(System.in);
BigInteger sum = BigInteger.ZERO;
while (true) {
BigInteger V = sc.nextBigInteger();
if (V.compareTo(BigInteger.ZERO) == 0) break;
sum = sum.... | .version 52 0
.class super Main
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:32:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:32:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,332 |
MsgCode | public class MsgCode {
public static final int LOGIN_REQ = 10001;
public static final int LOGIN_RESP = 10002;
public static final int LOGOUT_REQ = 10003;
public static final int LOGOUT_RESP = 10004;
}
| .version 52 0
.class public super MsgCode
.super java/lang/Object
.field public static final LOGIN_REQ I = 10001
.field public static final LOGIN_RESP I = 10002
.field public static final LOGOUT_REQ I = 10003
.field public static final LOGOUT_RESP I = 10004
.method public <init> : ()V
.code stack 1 locals ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:44:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:44:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,333 |
RouteFormatter | import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class RouteFormatter {
private static final String PATH_VARIABLE_PATTERN = "(?<group-name>[a-zA-Z0-9\\-\\_]+)";
private static final String PARAMETER_PATTERN = "(\\{([a-zA-Z][a-zA-Z0-9]*)\\})";
public String formatPattern(String mappingRou... | .version 52 0
.class public super RouteFormatter
.super java/lang/Object
.field private static final PATH_VARIABLE_PATTERN Ljava/lang/String; = '(?<group-name>[a-zA-Z0-9\\-\\_]+)'
.field private static final PARAMETER_PATTERN Ljava/lang/String; = '(\\{([a-zA-Z][a-zA-Z0-9]*)\\})'
.method public <init> : ()V
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:53:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:53:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,334 |
Solution | import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
public class Solution {
public int ladderLength(String beginWord, String endWord, List<String> wordList) {
boolean[][] transform = new boolean[wordList.size()][wordList.size()];
for (int i = wordList.size() - 1; i >= 0; i--) {
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:46:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:46:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,335 |
RegExUtil | /**
* CLASS: RegExUtil
*
* @author JR Andreassen
*/
public abstract class RegExUtil {
/**
* email checker regular expression any set if characters followed by @ folled by anything followd
* by a dot and at least two alpha chars this version is case-insensitive
*/
public static final String EMAIL_ADDRE... | .version 52 0
.class public super abstract RegExUtil
.super java/lang/Object
.field public static final EMAIL_ADDRESS_REGEX Ljava/lang/String; = '.+@.+\\.[a-zA-Z][a-zA-Z]+'
.field public static final US_ZIPCODE_REGEX Ljava/lang/String; = '^\\d{5}(-*\\d{4})?$'
.field public static final CANADA_ZIPCODE_REGEX Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:34:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:34:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,336 |
Solution2 | // Complete this code or write your own from scratch
import java.io.*;
import java.util.*;
// https://www.hackerrank.com/challenges/phone-book/problem
class Solution2 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int noOfEntries = Integer.parseInt(scan.nextLine());
H... | .version 52 0
.class super Solution2
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:01:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:01:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,337 |
Token | /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
/** Describes the input token stream. */
public class Token {
/**
* An integer that describes the kind of this token. This numbering system is determined by
* JavaCCParser, and a table of these numbers is stored in the file ...Constants.... | .version 52 0
.class public super Token
.super java/lang/Object
.field public kind I
.field public beginLine I
.field public beginColumn I
.field public endLine I
.field public endColumn I
.field public image Ljava/lang/String;
.field public next LToken;
.field public specialToken LToken;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:39:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:39:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,338 |
StringIndexOutOfBoundsException | /*
* Copyright 1994-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Fou... | .version 52 0
.class public super StringIndexOutOfBoundsException
.super java/lang/IndexOutOfBoundsException
.field private static final serialVersionUID J = -6762910422159637258L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/IndexOutOfBoundsExcept... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:08:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:08:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,339 |
AmqpException | /*
* Copyright (c) 1998-2012 Caucho Technology -- all rights reserved
*
* This file is part of Resin(R) Open Source
*
* Each copy or derived work must preserve the copyright notice and this
* notice unmodified.
*
* Resin Open Source is free software; you can redistribute it and/or modify
* it under the terms o... | .version 52 0
.class public super AmqpException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 38
L4 39
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:57:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:57:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,340 |
MapperHelper | /*
* #%L
* OpenNaaS :: VNMapper Resource
* %%
* Copyright (C) 2007 - 2014 Fundació Privada i2CAT, Internet i Innovació a Catalunya
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
... | .version 52 0
.class public super MapperHelper
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 26
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:54:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockRandom... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:54:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,341 |
ExceptionHandling | public class ExceptionHandling {
private void method1() throws Exception {
throw new RuntimeException();
}
private void method2() {
try {
method1();
} catch (RuntimeException rte) {
System.out.println("RuntimeException caught.");
} catch (Exception e) {
System.out.println("Excep... | .version 52 0
.class public super ExceptionHandling
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:32:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:32:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,342 |
UpdatableCodeUtils | import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Enumeration;
import java.util.Properties;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFi... | .version 52 0
.class public super UpdatableCodeUtils
.super java/lang/Object
.field static final ARCHIVE_DOWNLOAD_NAME Ljava/lang/String; = '/download.zip'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:27:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:27:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,343 |
ValueUtils | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public final super ValueUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 27
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:30:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:30:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,344 |
UntrustedIdentityException | public class UntrustedIdentityException extends Exception {}
| .version 52 0
.class public super UntrustedIdentityException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:23:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:23:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,345 |
Constant | public class Constant {
public static final String URL = "https://stackoverflow.com/";
public static final String HomePage_Title =
"Stack Overflow - Where Developers Learn, Share & Build Their Careers - Stack Overflow";
public static final String Username = "vryba";
public static final String Passw... | .version 52 0
.class public super Constant
.super java/lang/Object
.field public static final URL Ljava/lang/String; = 'https://stackoverflow.com/'
.field public static final HomePage_Title Ljava/lang/String; = 'Stack Overflow - Where Developers Learn, Share & Build Their Careers - Stack Overflow'
.field publi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:38:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:38:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,346 |
TestMain4 | /**
* TestMain1.java
*
* <p>Copyright 2016 Joshua Schnabel
*
* <p>Created: 07.02.2016 21:41:23 Part of: DefaultProject
*
* <p>For licence informations check the LICENCE file!
*/
/**
* @author Joshua Schnabel
*/
public class TestMain4 {
/**
* @param args
* @return int
*/
public int main(String[]... | .version 52 0
.class public super TestMain4
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:26:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:26:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,347 |
Currency | class Currency {
private String kod;
private String currencyCode;
private String isim;
private String currencyName;
private float unit;
private float forexBuying;
private float forexSelling;
private float banknoteBuying;
private float banknoteSelling;
private float crossrateUSD;
private float cros... | .version 52 0
.class super Currency
.super java/lang/Object
.field private kod Ljava/lang/String;
.field private currencyCode Ljava/lang/String;
.field private isim Ljava/lang/String;
.field private currencyName Ljava/lang/String;
.field private unit F
.field private forexBuying F
.field private forexSelling F... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:09:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:09:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,348 |
InterviewKickStartRecursionPossibleToAchieveTargetSum | import java.util.ArrayList;
/*
Possible To Achieve Target Sum?
Given a set of integers and a target value k, find a non-empty subset that sums up to k.
Example One
Input: [2 4 8], k = 6
Output: True
Because 2+4=6.
Example Two
Input: [2 4 6], k = 5
Output: False
Because no subset of numbers from the input sums up to 5.... | .version 52 0
.class public super InterviewKickStartRecursionPossibleToAchieveTargetSum
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 37
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:46:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:46:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,349 |
ModInfo | public class ModInfo {
public static final String MODID = "landcraft";
public static final String NAME = "Land Craft";
public static final String VERSION = "@VERSION@";
public static final String DEPENDS =
"required-after:forge@[14.23.0.2498,);required-after:landcore@[1.5.0.0,);"
+ "after:jei;a... | .version 52 0
.class public super ModInfo
.super java/lang/Object
.field public static final MODID Ljava/lang/String; = 'landcraft'
.field public static final NAME Ljava/lang/String; = 'Land Craft'
.field public static final VERSION Ljava/lang/String; = '@VERSION@'
.field public static final DEPENDS Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:52:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:52:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,350 |
Attribute | public class Attribute {
public static final String USERS = "users";
public static final String PROJECTS = "projects";
public static final String USER_IDX = "useridx";
public static final String ALARM = "alarm";
public static final String TODOLIST = "todolist";
private Attribute() {}
}
| .version 52 0
.class public super Attribute
.super java/lang/Object
.field public static final USERS Ljava/lang/String; = 'users'
.field public static final PROJECTS Ljava/lang/String; = 'projects'
.field public static final USER_IDX Ljava/lang/String; = 'useridx'
.field public static final ALARM Ljava/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:38:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:38:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 143,351 |
BCrypt | // Copyright (c) 2006 Damien Miller <djm@mindrot.org>
//
// Permission to use, copy, modify, and distribute this software for any
// purpose with or without fee is hereby granted, provided that the above
// copyright notice and this permission notice appear in all copies.
//
// THE SOFTWARE IS PROVIDED "AS IS" AND THE ... | .version 52 0
.class public super BCrypt
.super java/lang/Object
.field private static final GENSALT_DEFAULT_LOG2_ROUNDS I = 10
.field private static final BCRYPT_SALT_LEN I = 16
.field private static final BLOWFISH_NUM_ROUNDS I = 16
.field private static final P_orig [I
.field private static final S_orig [I
.f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:30:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.security.SecureRandom;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:30:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,352 |
Constants | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
public class Constants {
public static final String EMPTY_STRING = "";
public static final String TITLE = "Invoice Binder";
public static final String ENC_PASS = "encrypt";
// UI Table and Forms.
public stati... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final EMPTY_STRING Ljava/lang/String; = ''
.field public static final TITLE Ljava/lang/String; = 'Invoice Binder'
.field public static final ENC_PASS Ljava/lang/String; = 'encrypt'
.field public static final PANEL_CELL_SPACIN... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:13:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:13:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,353 |
ParameterEvent | // ParameterEvent.java
//
// (c) 1999-2001 PAL Development Core Team
//
// This
/**
* An event used by ExternalParameterListeners
*
* @version $Id: ParameterEvent.java,v 1.2 2001/10/10 07:50:02 matt Exp $
* @author Matthew Goode
*/
public class ParameterEvent extends java.util.EventObject {
public ParameterEve... | .version 52 0
.class public super ParameterEvent
.super java/util/EventObject
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/EventObject <init> (Ljava/lang/Object;)V
L5: return
L6:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:43:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:43:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,354 |
Size | import java.util.Date;
public class Size {
private Integer id;
private String code;
private String name;
private String stat;
private Integer create_by;
private Integer update_by;
private Date create_time;
private Date update_time;
private String text;
public Integer getId() {
return id;
... | .version 52 0
.class public super Size
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private code Ljava/lang/String;
.field private name Ljava/lang/String;
.field private stat Ljava/lang/String;
.field private create_by Ljava/lang/Integer;
.field private update_by Ljava/lang/Integer;
.fi... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:54:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Clock;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:54:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,355 |
SecurityCommandCenterScopes | /*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under t... | .version 52 0
.class public super SecurityCommandCenterScopes
.super java/lang/Object
.field public static final CLOUD_PLATFORM Ljava/lang/String; = 'https://www.googleapis.com/auth/cloud-platform'
.method public static all : ()Ljava/util/Set;
.code stack 2 locals 1
L0: new java/util/HashSet
L3: dup... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:41:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:41:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,356 |
Payer | /**
* 支付者信息
*
* @author Egan
* <pre>
* email egan@egzosn.com
* date 2021/10/4
* </pre>
*/
public class Payer {
/** 用户在直连商户appid下的唯一标识。 使用合单appid获取的对应用户openid。是用户在商户appid下的唯一标识。 */
private String openid;
public String getOpenid() {
return openid;
}
public void setOpenid(String openid) {
t... | .version 52 0
.class public super Payer
.super java/lang/Object
.field private openid Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:27:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:27:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,357 |
StringUtils | import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Random;
public class StringUtils {
private static final Random rnd = new Random();
public static String md5(String str) throws NoSuchAlgorithmException {
MessageDigest md5 = MessageDigest.getInstance("MD5");
... | .version 52 0
.class public super StringUtils
.super java/lang/Object
.field private static final rnd Ljava/util/Random;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:48:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:48:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,358 |
Main | /*
* Author: Minho Kim (ISKU)
* Date: February 25, 2018
* E-mail: minho.kim093@gmail.com
*
* https://github.com/ISKU/Algorithm
* https://www.acmicpc.net/problem/3474
*/
import java.util.*;
public class Main {
public static void main(String... args) {
Scanner sc = new Scanner(System.in);
int T = sc.ne... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:38:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:38:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,359 |
SearchInfo | public class SearchInfo {
private String gjz;
private String tj;
private String lx;
public String getGjz() {
return gjz;
}
public void setGjz(String gjz) {
this.gjz = gjz;
}
public String getTj() {
return tj;
}
public void setTj(String tj) {
this.tj = tj;
}
public String get... | .version 52 0
.class public super SearchInfo
.super java/lang/Object
.field private gjz Ljava/lang/String;
.field private tj Ljava/lang/String;
.field private lx Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:29:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:29:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,360 |
MissingInt | import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.Scanner;
public class MissingInt {
public static int findMiss(String filename) throws FileNotFoundException {
int rangeSize = 1 << 20;
int[] blocks = getBlockSizes(filename, rangeSize);
int blockIndex = getBlockWithMissing... | .version 52 0
.class public super MissingInt
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:28:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:28:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,361 |
MensagemUtil | import java.text.MessageFormat;
import java.util.ResourceBundle;
public class MensagemUtil {
private static final String PACOTE_MENSAGENS = "br.gsfarma.mensagem.mensagens";
public static String getMensagem(String propriedade) {
ResourceBundle bundle = ResourceBundle.getBundle(MensagemUtil.PACOTE_MENSAGENS);
... | .version 52 0
.class public super MensagemUtil
.super java/lang/Object
.field private static final PACOTE_MENSAGENS Ljava/lang/String; = 'br.gsfarma.mensagem.mensagens'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:59:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.MissingResourceException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunn... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 02:59:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,362 |
TicTacToeMCTS | public class TicTacToeMCTS {}
| .version 52 0
.class public super TicTacToeMCTS
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:18:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:18:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,363 |
ContactRepresentation | public class ContactRepresentation {
private String firstName;
private String lastName;
private String login;
private String nickName;
private String senderName;
public String getFirstName() {
return firstName;
}
public String getLastName() {
return lastName;
}
public String getLogin... | .version 52 0
.class public super ContactRepresentation
.super java/lang/Object
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private login Ljava/lang/String;
.field private nickName Ljava/lang/String;
.field private senderName Ljava/lang/String;
.method public <... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:05:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:05:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,364 |
Day27Testing | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author BHARAT VERMA <>
*/
public class Day27Testing {}
| .version 52 0
.class public super Day27Testing
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:23:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:23:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,365 |
GType | public class GType {
public static final GType BOOLEAN = null;
public static final GType GVECTOR3F = null;
}
| .version 52 0
.class public super GType
.super java/lang/Object
.field public static final BOOLEAN LGType;
.field public static final GVECTOR3F LGType;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:56:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:56:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,366 |
Subject290 | import java.util.HashMap;
import java.util.Map;
public class Subject290 {
public static void main(String[] args) {
// TODO Auto-generated method stub
}
public boolean wordPattern(String pattern, String str) {
String[] strs = str.split(" ");
if (pattern.length() != strs.length) return false;
Ma... | .version 52 0
.class public super Subject290
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:47:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:47:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,367 |
OneString | /** */
public class OneString {
private final String someString;
public OneString(final String someString) {
this.someString = someString;
}
public String getSomeString() {
return someString;
}
}
| .version 52 0
.class public super OneString
.super java/lang/Object
.field private final someString Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putf... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:23:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:23:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,368 |
ParserException | @SuppressWarnings("serial")
public class ParserException extends RuntimeException {
public ParserException() {
super();
}
public ParserException(String message) {
super(message);
}
public ParserException(Throwable cause) {
super(cause);
}
public ParserException(String message, Throwable ca... | .version 52 0
.class public super ParserException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 7
L4 8
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:58:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:58:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,369 |
PropFlag | public class PropFlag {
public static final int UNSIGNED = 1 << 0;
public static final int COORD = 1 << 1;
public static final int NO_SCALE = 1 << 2;
public static final int ROUND_DOWN = 1 << 3;
public static final int ROUND_UP = 1 << 4;
public static final int NORMAL = 1 << 5;
public static final int EX... | .version 52 0
.class public super PropFlag
.super java/lang/Object
.field public static final UNSIGNED I = 1
.field public static final COORD I = 2
.field public static final NO_SCALE I = 4
.field public static final ROUND_DOWN I = 8
.field public static final ROUND_UP I = 16
.field public static final NORMAL I... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:34:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:34:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,370 |
SetterAccessLevel | // Generated by delombok at Sat Jun 11 11:12:44 CEST 2016
class SetterAccessLevel {
boolean isNone;
boolean isPrivate;
boolean isPackage;
boolean isProtected;
boolean isPublic;
boolean value;
@java.lang.SuppressWarnings("all")
@javax.annotation.Generated("lombok")
private void setPrivate(final boole... | .version 52 0
.class super SetterAccessLevel
.super java/lang/Object
.field isNone Z
.field isPrivate Z
.field isPackage Z
.field isProtected Z
.field isPublic Z
.field value Z
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:20:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:20:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,371 |
CmdFactory | /**
* This file is part of CloudML [ http://cloudml.org ]
*
* <p>Copyright (C) 2012 - SINTEF ICT Contact: Franck Chauvel <franck.chauvel@sintef.no>
*
* <p>Module: root
*
* <p>CloudML is free software: you can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as publishe... | .version 52 0
.class public super CmdFactory
.super java/lang/Object
.field public static INSTANCE LCmdFactory;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 35
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:10:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:10:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,372 |
Trader | /*
* Copyright (c) 2018 Nova Ordis LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | .version 52 0
.class public super Trader
.super java/lang/Object
.field private name Ljava/lang/String;
.field private location Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:27:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:27:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,373 |
ChargeRequestCardResponse | public class ChargeRequestCardResponse {
boolean RequiresPIN;
String VignereCode;
}
| .version 52 0
.class public super ChargeRequestCardResponse
.super java/lang/Object
.field RequiresPIN Z
.field VignereCode Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linen... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:48:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:48:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,374 |
NoSuchDataShieldMethodException | /*******************************************************************************
* Copyright (c) 2011 OBiBa. All rights reserved.
*
* This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0.
*
* You should have received a copy of the GNU General Public Licen... | .version 52 0
.class public super NoSuchDataShieldMethodException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -1295544695602633502L
.field private final name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:14:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:14:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,375 |
User | public class User {
private Integer id;
private String name;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Override
public String toStrin... | .version 52 0
.class public super User
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumb... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:21:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:21:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,376 |
JavaBean | /*
* 文 件 名: JavaBean.java
* 版 本: component-dataparser(Anttribe). All rights reserved
* 描 述: <描述>
* 修 改 人: zhaoyong
* 修改时 间: 2015年1月31日
*/
/**
* @author zhaoyong
* @version 2015年1月31日
*/
public class JavaBean {
private int id;
private String title;
private int width;
private in... | .version 52 0
.class public super JavaBean
.super java/lang/Object
.field private id I
.field private title Ljava/lang/String;
.field private width I
.field private height I
.field private languages [Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespec... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:43:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:43:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,377 |
File | import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
/**
* @author liuji
* @create 2017/10/17-14:25.
* @project Java-Effective
* @desc
*/
public class File {
/**
* 输入流 InputStream一般是由javaio对象(如File)建立的,
* 当新建一个InputStream时,io对象建立了一个包含有数据的管道(其实就是我们所说的这个“流”)并将io对象存储的数据输入(... | .version 52 0
.class public super File
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:47:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:47:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,378 |
UnknownMessageException | public class UnknownMessageException extends Exception {
public UnknownMessageException() {}
public UnknownMessageException(String arg0) {
super(arg0);
}
public UnknownMessageException(Throwable cause) {
super(cause);
}
public UnknownMessageException(String message, Throwable cause) {
super(... | .version 52 0
.class public super UnknownMessageException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 6
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:20:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:20:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,379 |
Cap3Ex5 | class Cap3Ex5 {
public static void main(String[] args) {
long f = 1;
for (long i = 1; i <= 20; i++) {
f *= i;
System.out.println(i + "! = " + f);
}
}
}
| .version 52 0
.class super Cap3Ex5
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.met... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:45:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:45:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,380 |
NoCapablePlatformException | /*
* WorldEdit, a Minecraft world manipulation toolkit
* Copyright (C) sk89q <http://www.sk89q.com>
* Copyright (C) WorldEdit team and contributors
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by the
* Free Sof... | .version 52 0
.class public super NoCapablePlatformException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 27
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:11:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:11:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,381 |
FormattingException | public class FormattingException extends Exception {
public FormattingException(String s) {
this(s, null);
}
public FormattingException(String s, Throwable cause) {
super(s, cause);
}
}
| .version 52 0
.class public super FormattingException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 3 locals 2
L0: aload_0
L1: aload_1
L2: aconst_null
L3: invokespecial Method FormattingException <init> (Ljava/lang/String;Ljava/lang/Throwable;)V
L6: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:53:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:53:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,382 |
UserQueryOrderStatus | /**
* Portal页面查询订单状态数据类 ret_code: 0 支付成功, 非0 支付失败 ret_msg: 支付失败原因
*
* @author rongwei.huang
*/
public class UserQueryOrderStatus {
private int ret_code;
private String ret_msg;
public int getRet_code() {
return ret_code;
}
public void setRet_code(int ret_code) {
this.ret_code = ret_code;
}
... | .version 52 0
.class public super UserQueryOrderStatus
.super java/lang/Object
.field private ret_code I
.field private ret_msg Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.l... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:40:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:40:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,383 |
Solution | // Solution: Greedy
// Always take a single char from the largest word. (NOT just the current char).
// E.g.
// ans = "", w1 = "cabba", w2 = "bcaaa"
// w1 > w2, take from w1
// ans = "c", w1 = "abba", w2 = "bcaaa"
// w1 < w2, take from w2
// ans = "cb", w1 = "abba", w2 = "caaa"
// w1 < w2, take from w2
// ans = "cbc", ... | .version 52 0
.class super Solution
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:13:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:13:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,384 |
LoggerFactory | /*
This file is a part of Angry IP Scanner source code,
see http://www.angryip.org/ for more information.
Licensed under GPLv2.
*/
import java.util.logging.Logger;
/**
* LoggerFactory is an easy way to obtain Logger instances.
*
* @author Anton Keks
*/
public class LoggerFactory {
/**
* @return Logger in... | .version 52 0
.class public super LoggerFactory
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:37:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.logging.Logger;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:37:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,385 |
TAntiDrugICDMap | /**
* 药品和国际标准码对照表
*
* @author Administrator
*/
public class TAntiDrugICDMap {
private String SerialNo;
private String DrugID;
private String ICDCode;
private String Memo;
public String getSerialNo() {
return SerialNo;
}
public void setSerialNo(String serialNo) {
SerialNo = serialNo;
}
p... | .version 52 0
.class public super TAntiDrugICDMap
.super java/lang/Object
.field private SerialNo Ljava/lang/String;
.field private DrugID Ljava/lang/String;
.field private ICDCode Ljava/lang/String;
.field private Memo Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:24:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:24:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,386 |
ByteCountOutputStream | /*
* eXist Open Source Native XML Database
* Copyright (C) 2011 The eXist Project
* http://exist-db.org
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2
* ... | .version 52 0
.class public super ByteCountOutputStream
.super java/io/OutputStream
.field private nrOfBytes J
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/OutputStream <init> ()V
L4: return
L5:
.linenumbertable
L0 30... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:14:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:14:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,387 |
JavaCharStream | /*
* #%L
* The AIBench Shell Plugin
* %%
* Copyright (C) 2006 - 2017 Daniel Glez-Peña and Florentino Fdez-Riverola
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either vers... | .version 52 0
.class public super JavaCharStream
.super java/lang/Object
.field public static final staticFlag Z = 0
.field public bufpos I
.field bufsize I
.field available I
.field tokenBegin I
.field protected bufline [I
.field protected bufcolumn [I
.field protected column I
.field protected line I
.fie... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:42:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileDescriptor;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.Input... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:42:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,388 |
EscapeWriter | /* Copyright (c) The m-m-m Team, Licensed under the Apache License, Version 2.0
* http://www.apache.org/licenses/LICENSE-2.0 */
import java.io.IOException;
import java.io.Writer;
/**
* This is a wrapper for a writer that allows to map specific characters to a escape sequences given
* a strings. <br>
* The mapping... | .version 52 0
.class public super EscapeWriter
.super java/io/Writer
.field private final characterEscapingTable [Ljava/lang/String;
.field private final writer Ljava/io/Writer;
.method public <init> : ([Ljava/lang/String;Ljava/io/Writer;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:54:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.StringWriter;
import java.io.Writer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:54:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,389 |
Skill | /**
* Defines skill existing in a project. Skill is an element linking resource and task. Only a
* resource with equal or higher skill level than required for a task can be assigned to that task.
*/
public class Skill {
private String type;
private int level;
public Skill(String type, int level) {
this.t... | .version 52 0
.class public super Skill
.super java/lang/Object
.field private type Ljava/lang/String;
.field private level I
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:40:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:40:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,390 |
ReplacePropertyAction | /*
* JBoss, Home of Professional Open Source.
* Copyright 2016 Red Hat, Inc., and individual contributors
* as indicated by the @author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the Licen... | .version 52 0
.class public final super ReplacePropertyAction
.super java/lang/Object
.implements java/security/PrivilegedAction
.field private final propertyName Ljava/lang/String;
.field private final value Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 lo... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:16:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:16:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,391 |
WxCardApiSignature | import java.io.Serializable;
/**
* 卡券Api签名
*
* @author YuJian
* @version 15/11/8
*/
public class WxCardApiSignature implements Serializable {
private String appId;
private String cardId;
private String cardType;
private String locationId;
private String code;
private String openId;
private Lo... | .version 52 0
.class public super WxCardApiSignature
.super java/lang/Object
.implements java/io/Serializable
.field private appId Ljava/lang/String;
.field private cardId Ljava/lang/String;
.field private cardType Ljava/lang/String;
.field private locationId Ljava/lang/String;
.field private code Ljava/lang/St... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:54:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:54:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,392 |
UnitDef | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import java.io.DataOutputStream;
import java.io.IOException;
/**
* @author michael.spinelli
*/
public class UnitDef {
private String _basicSymbolId = "";
private String _description = "";
private int _drawCate... | .version 52 0
.class public super UnitDef
.super java/lang/Object
.field private _basicSymbolId Ljava/lang/String;
.field private _description Ljava/lang/String;
.field private _drawCategory I
.field private _hierarchy Ljava/lang/String;
.field private _path Ljava/lang/String;
.method public <init> : (Ljava/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:19:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.DataOutputStream;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:19:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,393 |
FileUtil | /*
* Copyright © 2008-2009 Esko Luontola, www.orfjackal.net
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... | .version 52 0
.class public final super FileUtil
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 28
L4 29
.end linenumb... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:44:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.Closeable;
import java.io.File;
import java.io.OutputStream;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:44:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,394 |
CountryCodes | import java.util.LinkedHashMap;
import java.util.Map;
/** ISO 3166-2 country codes */
public class CountryCodes {
private static final Map<String, String> COUNTRIES;
static {
COUNTRIES = new LinkedHashMap<>();
COUNTRIES.put("AF", "Afghanistan");
COUNTRIES.put("AL", "Albania");
COUNTRIES.put("DZ", ... | .version 52 0
.class public super CountryCodes
.super java/lang/Object
.field private static final COUNTRIES Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:59:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:59:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,395 |
Category | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.Objects;
/**
* @author marek
*/
public class Category {
private Long id;
private String name;
/**
* @ret... | .version 52 0
.class public super Category
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:53:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:53:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,396 |
TestDtoServiceDTO | import java.io.Serializable;
import java.util.Objects;
/** A DTO for the TestDtoService entity. */
public class TestDtoServiceDTO implements Serializable {
private Long id;
private String firstName;
private String lastName;
private String country;
private String email;
private String ipAddress;
pu... | .version 52 0
.class public super TestDtoServiceDTO
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Long;
.field private firstName Ljava/lang/String;
.field private lastName Ljava/lang/String;
.field private country Ljava/lang/String;
.field private email Ljava/lang/String;... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:29:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:29:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,397 |
UnicodeToAsciiConverterException | @SuppressWarnings("serial")
public class UnicodeToAsciiConverterException extends Exception {
public UnicodeToAsciiConverterException(String message) {
super(message);
}
public UnicodeToAsciiConverterException(String message, Throwable cause) {
super(message, cause);
}
}
| .version 52 0
.class public super UnicodeToAsciiConverterException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:52:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:52:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,398 |
FseException | /*******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2014 Paul Adams (adamspe@notiosoftware.com)
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Softwa... | .version 52 0
.class public super FseException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -6755575772184973089L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:33:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:33:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.