Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testVersion (0.07 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpTest.kt

     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.matches
    import org.junit.jupiter.api.Test
    
    class OkHttpTest {
      @Test
      fun testVersion() {
        assertThat(OkHttp.VERSION).matches(Regex("[0-9]+\\.[0-9]+\\.[0-9]+(-.+)?"))
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Dec 21 01:54:49 UTC 2023
    - 848 bytes
    - Viewed (0)
  2. cmd/version_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestVersion(t *testing.T) {
    	Version = "2017-05-07T06:37:49Z"
    	_, err := time.Parse(time.RFC3339, Version)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 956 bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConscryptTest.kt

          }
        }
      }
    
      @Test
      fun testBuildIfSupported() {
        val actual = ConscryptPlatform.buildIfSupported()
        assertThat(actual).isNotNull()
      }
    
      @Test
      fun testVersion() {
        val version = Conscrypt.version()
    
        assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major()))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/handling-errors.md

                    "path",
                    "item_id"
                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    eine Textversion:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    ```
    
    #### `RequestValidationError` vs. `ValidationError`
    
    /// warning | "Achtung"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top