// File: /workspace/github_cpp_makefile_star2_O3/MarkOates[P]file-downloader/test_file_downloader.cpp
// Function: FileDownloader_will_set_an_error_message_of_404_when_a_file_url_does_not_exist_invoker()
BOOST_AUTO_TEST_CASE(FileDownloader_will_set_an_error_message_of_404_when_a_file_url_does_not_exist)
{
   std::string file_url = "https://www.allegro.cc/this_file_does_not_exist.png";
   std::string local_filename = "";
   FileDownloader::FileHandle handle = FileDownloader::download_file(file_url, local_filename);

   BOOST_CHECK_EQUAL("404", handle.get_error());
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x258, %rsp            # imm = 0x258
movq 0x7009(%rip), %rbx      # 0xf1d8
leaq 0x2fa6(%rip), %rax      # 0xb17c
movq %rax, -0x98(%rbp)
leaq 0x2fb0(%rip), %r13      # 0xb194
movq %r13, -0x90(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
leaq -0xa8(%rbp), %r15
movq %r15, -0x10(%r15)
movq $0x0, -0x8(%r15)
movb $0x0, (%r15)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x327d(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x339b(%rip), %rsi      # 0xb5ee
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
leaq -0x38(%rbp), %r12
cmpq %r12, %rdi
je 0x829f
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x280(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x98(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x82ea
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6cf7(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6ec8(%rip), %rbx      # 0xf1d8
leaq 0x2e65(%rip), %rax      # 0xb17c
movq %rax, -0x88(%rbp)
movq %r13, -0x80(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3143(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x3270(%rip), %rsi      # 0xb5fd
leaq -0x230(%rbp), %rdi
movl $0xf, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x83d5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x270(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x88(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x8420
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6bc1(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6d92(%rip), %rbx      # 0xf1d8
leaq 0x2d2f(%rip), %rax      # 0xb17c
movq %rax, -0x78(%rbp)
movq %r13, -0x70(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x3010(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x314d(%rip), %rsi      # 0xb60d
leaq -0x230(%rbp), %rdi
movl $0xc, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x8508
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x260(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x78(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x8550
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x6a91(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
callq 0x8806
movq 0x6c5d(%rip), %rbx      # 0xf1d8
leaq 0x2bfa(%rip), %rax      # 0xb17c
movq %rax, -0x68(%rbp)
movq %r13, -0x60(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x2edb(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x3025(%rip), %rsi      # 0xb61a
leaq -0x230(%rbp), %rdi
movl $0x12, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x863d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x250(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x68(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x8685
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x695c(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
movq 0x6b2d(%rip), %rbx      # 0xf1d8
leaq 0x2aca(%rip), %rax      # 0xb17c
movq %rax, -0x58(%rbp)
movq %r13, -0x50(%rbp)
leaq -0x230(%rbp), %r14
movl $0x198, %edx            # imm = 0x198
movq %r14, %rdi
xorl %esi, %esi
callq 0x3120
movq %r14, %rdi
callq 0x32a0
movq %r15, 0x178(%r14)
movq $0x0, 0x180(%r14)
movb $0x0, 0x188(%r14)
leaq -0x48(%rbp), %rsi
movb $0x22, (%rsi)
movl $0x1, %edx
movq %r14, %rdi
callq 0x32c0
leaq 0x2dab(%rip), %rsi      # 0xb4b8
leaq -0x230(%rbp), %rdi
movl $0x4e, %edx
callq 0x32c0
leaq 0x2f08(%rip), %rsi      # 0xb62d
leaq -0x230(%rbp), %rdi
movl $0xe, %edx
callq 0x32c0
leaq -0x228(%rbp), %rsi
leaq -0x48(%rbp), %rdi
callq 0x3140
leaq -0xb8(%rbp), %rdi
leaq -0x48(%rbp), %r14
movq %r14, %rsi
callq 0x3190
movq (%r14), %rdi
cmpq %r12, %rdi
je 0x876d
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x3080
movq -0xb8(%rbp), %rax
leaq -0x240(%rbp), %rcx
movq %rax, (%rcx)
addq -0xb0(%rbp), %rax
movq %rax, 0x8(%rcx)
leaq -0x58(%rbp), %rsi
movl $0x5f, %edx
movq %rbx, %rdi
callq 0x3100
movq -0xb8(%rbp), %rdi
cmpq %r15, %rdi
je 0x87b5
movq -0xa8(%rbp), %rsi
incq %rsi
callq 0x3080
movq 0x682c(%rip), %rsi      # 0xefe8
leaq -0x230(%rbp), %rdi
callq 0x3220
leaq -0x1c0(%rbp), %rdi
callq 0x3210
addq $0x258, %rsp            # imm = 0x258
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x87ee
jmp 0x87ee
jmp 0x87ee
jmp 0x87ee
movq %rax, %rbx
leaq -0x230(%rbp), %rdi
callq 0x9ec0
movq %rbx, %rdi
callq 0x31d0
nop